<?php $this->load->view('inc/header.php');?>
<?php $this->load->view('product/inc_sm.php');?>

<div class="col-right">
	<div class="box"> <div class="box-t">添加商品</div> <div class="box-c" id="cat-tree">

	<form id="frm-product" action="<?php echo site_url('c=product&m=save_do');?>" vdt="true">
	<input type="hidden" name="id" value="<?php echo fd('r.id');?>"/>
	
	<table class="tbl-info">
		<tr>
			<th>编号：</th>
			<td><input name="no" value="<?php echo fd('r.no');?>" class="validate[required]"/></td>
		</tr>
		<tr>
			<th>分类：</th>
			<td><?php html_select(fd('opt_cat'),fd('r.cid'),'name="cid" class="validate[required]"','--请选择--');?></td>
		</tr>
		<tr>
			<th>图片：</th>
			<td><?php html_uppic('img',fd('r.img'));?></td>
		</tr>
		<tr>
			<th>相册：</th>
			<td><?php html_uppics('imgs',fd('r.imgs'));?></td>
		</tr>
	</table>
	</form>

	<div class="action">
		<input type="button" value=" 保 存 "  class="btn-ajax-submit" frmid="frm-product"/>
	</div>

	</div> </div>
</div>

<?php $this->load->view('inc/footer.php');?>
